package com.sx.pipeline.repos.http.res

import com.sx.pipeline.repos.http.req.OmsNeedEquipment
import com.sx.pipeline.repos.http.req.OmsNeedServeDTO
import com.sx.pipeline.repos.http.req.OmsNeedUnit
import com.sx.pipeline.repos.http.req.OrderQuotedPrice

/**
 *    author : zhouyouqiang
 *    e-mail : 1638473898@qq.com
 *    date   : 2022/5/24 17:13
 *    desc   :
 *    version: 1.0
 */
data class ReleaseNeedsVO(
    val id: Int,
    val needDownType:Int, //子需求类型返回的实体类0:Equipment、1:Unit、2:Serve
    val createTime: String, //创建时间
    val expiration:String, //任务过期时间
    val status: Int, //0 已发布 1已取消
    val name: String, //项目名称
    val unitName:String, //发起单位
    val title:String,//标题
    val description: String, //需求描述
    val contact: String,
    val auditBy:String, //审核人
    val contactPhone: String,
    val longitude:String,
    val latitude:String,
    val addressDetail: String,
    val address: String,
    val createBy: String, //创建人
    val needType: String, //需求类型
    val omsNeedEquipment: OmsNeedEquipment?, //设备信息
    val omsNeedUnit: OmsNeedUnit?, //服务单位信息
    val omsNeedServe: OmsNeedServeDTO?,
    val orderQuotedPrice: OrderQuotedPrice, //报价信息
    val auditTime:String, //审核时间
    val rejectDesc:String, //拒绝原因
    val cancelTime:String, //取消时间
    val needQuotePrice:Double,//报价价格
)